package com.compass.ui.client.model;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

public class ScheduleEvent extends BaseTreeModel
{
	private static final long serialVersionUID = -4689780210820170091L;

	public ScheduleEvent(String time, String event)
	{
		set("time", time);
		set("event", event);
		set("name", time + " - " + event);
	}
	
	public void setEvent(String event)
	{
		set("event", event);
	}
	
	public void setTime(String time)
	{
		set("time", time);
	}
	
	public String getEvent()
	{
		return get("event");
	}
	
	public String getTime()
	{
		return get("time");
	}
	
	public String getName()
	{
		return get("name");
	}
}
